package com.zoe.vhr.mapper;

import com.zoe.vhr.model.Role;

import java.util.List;
import java.util.Set;

public interface RoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    Set<Role> listRoleByHrId(Integer id);


    List<Role> listAllRoles();

    int saveRole(Role role);

    int deleteRole(Integer roleId);
}